package com.feiyi.app.app;

/**
 * 作者: wlt
 * 时间:2018-07-12 17:35
 * 类描述:请求地址常量类
 *
 */
public class AppConstant {
    /**
     * 主接口地址
     */
    public static final String BASE_URL= "http://ecshop.nihongmao.cn/ecmobile/?url=";
    /**
     * 首页地址
     */
    public static final String HOME_URL =BASE_URL+"/home/index";
    /**
     * 分类左边栏地址
     */
    public static final String CLASSIFY_LEFT_URL =BASE_URL+"/category";
    /**
     * 分类右侧栏导航地址
     */
    public static final String CLASSIFY_RIGHT_URL =BASE_URL+"/child";
    /**
     * 商品搜索地址
     */
    public static final String GOODS_SEARCH =BASE_URL+"/search";
    /**
     * 文章详情接口
     */
    public static final String ARTICLE_DETAIL =BASE_URL+"/article";
    /**
     * 用户注册接口
     */
    public static final String REGISTER_URL =BASE_URL+"/user/signup";
    /**
     * 用户登录接口
     */
    public static final String LOGIN_URL =BASE_URL+"/user/signin";
    /**
     * 用户收藏列表
     */
    public static final String COLLECT_URL = BASE_URL+"/user/collect/list";
    /**
     * 积分列表
     */
    public static final String JIFEN_URL = BASE_URL+"/user/integral";
    /**
     * 优惠券列表
     */
    public static final String YOUHUI_URL = BASE_URL+"/user/bonus";
    /**
     * 获取验证码接口
     */
    public static final String YANZHENGMA_URL = BASE_URL+"/user/signcode";
    /**
     * 获取找回密码验证码接口
     */
    public static final String YANZHENGMA_GETPSD_URL = BASE_URL+"/user/changecode";
    /**
     * 获取找回密码接口
     */
    public static final String GETPSD_URL = BASE_URL+"/user/changepass";
    /**
     * 获取地区接口
     */
    public static final String REGION = BASE_URL+"/region";
    /**
     * 上传地址信息的接口
     */
    public static final String ADD_ADDRESS_URL = BASE_URL+"/address/add";
    /**
     * 获取地址信息列表
     */
    public static final String ADDRESS_LIST_URL = BASE_URL+"/address/list";
    /**
     * 获取用户地址详情的链接
     */
    public static final String ADDRESS_DETAIL_URL = BASE_URL+"/address/info";
    /**
     * 更新用户地址接口
     */
    public static final String UPDATE_ADDRESS_URL = BASE_URL+"/address/update";
    /**
     * 添加到购物车接口
     */
    public static final String ADD_TO_CART_URL =BASE_URL+"/cart/create";
    /**
     * 购物车列表
     */
    public static final String CART_LIST_URL =BASE_URL+"/cart/list";
    /**
     * 从购物车中删除
     */
    public static final String DELETE_FROM_CART_URL =BASE_URL+"/cart/delete";
    /**
     * 订单预览
     */
    public static final String CHECKORDER = BASE_URL+"/flow/checkOrder";
    /**
     * 订单生成
     */
    public static final String DONEORDER = BASE_URL+"/flow/done";
    /**
     * 商品详情接口地址
     */
    public static final String GOODS_DETAIL = BASE_URL+"/goods";

    /**
     * 商品详情描述地址
     */
    public static final String GOODSDETAIL_DESC = "http://ecshop.nihongmao.cn/mobile/goodsdesc.php?id=";

    /**
     * 从购物车中删除
     */
    public static final String UPDATE_CART =BASE_URL+"/cart/update";
    /**
     * 订单列表
     */
    public static final String ORDERLIST = BASE_URL+"/order/list";
    /**
     * 在线反馈
     */
    public static final String FEEDBACK =BASE_URL+"/user/feedback";
    /**
     * 更新用户生日和性别
     */
    public static final String UPDATEPERSON =BASE_URL+"/user/changeinfo";
    /**
     * 上传头像
     */
    public static final String UPDATEHEAD =BASE_URL+"/user/changeavatar";

    public static final String SID = "sid";
    public static final String UID = "uid";
    public static final String COLLECTION_NUM = "collection_num";
    public static final String EMAIL = "email";
    public static final String NAME = "name";
    public static final String ID = "id";
    public static final String AWAIT_PAY = "await_pay";
    public static final String AWAIT_SHIP = "await_ship";
    public static final String FINISHED = "finished";
    public static final String SHIPPED = "shipped";
    public static final String RANK_LEVEL = "rank_level";
    public static final String RANK_NAME = "rank_name";
    public static final String AVATAR = "avatar";
    public static final String SEX = "sex";
    public static final String BIRTHDAY = "birthday";


}
